package com.yc.common.core.domain.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author YanChen
 * @Date 2025/4/24 10:55
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmailCaptchaMessage implements Serializable {

    private static final long serialVersionUID = -6430160340722636118L;

    /**
     * 收件人邮箱
     */
    private String to;

    /**
     * 验证码图片BASE64编码
     */
    private String captchaImageBase64;

    /** 邮件主题 */
    private String subject;

    public EmailCaptchaMessage(String to, String captchaImageBase64) {
        this.to = to;
        this.captchaImageBase64 = captchaImageBase64;
    }
}
